package com.coincalf.wallet.blockchain.bean.trx;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TrxRawData {

    @JsonProperty("number")
    private Long number;
    @JsonProperty("txTrieRoot")
    private String txTrieRoot;
    @JsonProperty("witness_address")
    private String witnessAddress;
    @JsonProperty("parentHash")
    private String parentHash;
    @JsonProperty("version")
    private Integer version;
    @JsonProperty("timestamp")
    private Long timestamp;
    //交易备注 链上
    @JsonProperty("data")
    private String remark;

    @JsonProperty("contract")
    private List<TrxContract> contracts;

}
